package com.yztc.xiami_app.bean.ssq;

import com.litesuits.orm.db.annotation.Column;
import com.litesuits.orm.db.annotation.NotNull;
import com.litesuits.orm.db.annotation.PrimaryKey;
import com.litesuits.orm.db.annotation.Table;
import com.litesuits.orm.db.enums.AssignType;

/**
 * Created by 周旭 on 2016/11/18.
 */

@Table("ssq")
public class Address {

    @Column("_id")
    @PrimaryKey(AssignType.AUTO_INCREMENT)
    private Long id;
    @Column("pName")
    @NotNull
    private String pName; //省份或直辖市名称
    @Column("cName")
    @NotNull
    private String cName; //市名称
    @Column("area")
    @NotNull
    private String areaName; //区的名称

    public Address(String pName, String cName, String areaName) {
        this.pName = pName;
        this.cName = cName;
        this.areaName = areaName;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }
}
